package com.zjitc.service;

import com.zjitc.common.ServerResponse;
import com.zjitc.model.Comment;
import com.zjitc.model.Pay;
import com.zjitc.model.Product;
import com.zjitc.model.ProductVo;
import java.util.List;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/5/2 16:49
 * @description:
 */
public interface ProductService {
  ServerResponse<Product> pushProduct(Product product);
  List<Product> productAll();
  Product showProduct(Integer id);
  void delete(Integer id);
  List<ProductVo> showComment();
  void comment(String com,Integer pid,Integer id);

  Product pay(Integer money);

  String creatUid();


  void payAdd(String money, String username, String imageName);
}
